Skip to content

Mobile popup improvement#1096

Open
JasonNguyen067 wants to merge 9 commits intomainfrom
mobilePopupImprovement
Open

Mobile popup improvement#1096
JasonNguyen067 wants to merge 9 commits intomainfrom
mobilePopupImprovement

Conversation

@JasonNguyen067
Copy link
Copy Markdown
Contributor

@JasonNguyen067 JasonNguyen067 commented Apr 28, 2026

Description

Decreased height of the pop-up. Updated border radius of the popup, fixed scroll logic, and added a swipe down animation to close the popup.

Screenshots

Before:
Screenshot 2026-04-27 at 9 17 30 PM

After:
Screenshot 2026-04-27 at 9 13 09 PM

Test Plan

Click on add course, verify that it's the correct height with border radius, try scrolling to see just the pop-up scrolling and not the background and swipe down on the pop-up to see if it closes.

Issues

Closes #1076

Copy link
Copy Markdown
Collaborator

@CadenLee2 CadenLee2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When discussing in our meeting, the reasoning for changing the height of the mobile popup was to make it clear that it's a popup rather than some bug with the top bar. As such I think it might be more natural to have it slightly less tall to look more natural/independent from the top bar (see screenshot for an idea), but lmk what you think
Image

Comment thread site/src/app/roadmap/MobilePopup.tsx Outdated
Comment thread site/src/app/roadmap/MobilePopup.tsx Outdated
Copy link
Copy Markdown
Collaborator

@CadenLee2 CadenLee2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are still some weird visual interactions, I think fixing these will boil down to fixing just a few details in the logic when it comes to borders/edge cases.

See the three I noticed here:

  1. When partway scrolled down, the cancel button gets offset weirdly if you try to collapse the menu from above
  2. When partway scrolled down, the menu glitches when you try to scroll back up and reach the top
2026-05-03.10-03-54.mp4
  1. When you try to collapse the menu from above then change your mind and move your finger back up, the collapsing fails
    https://github.com/user-attachments/assets/fa671f27-aebe-4c99-80be-008b5c3ca0fa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants